﻿/*
 * Created by SharpDevelop.
 * User: Yequ
 * Date: 10/8/2011
 * Time: 5:37 PM
 * 
 */
using System;

namespace BAL.Entities
{
	public class clsDocument
	{
		private int idNumber;
		public int IDNumber
		{
			get{return idNumber;}
			set{idNumber=value;}
		}

        private string avatarPath;
        public string AvatarPath
        {
            get { return avatarPath; }
            set { avatarPath = value; }
        }

		private string title;
		public string Title
		{
			get{return title;}
			set{title=value;}
		}
		
		private string brief;
		public string Brief
		{
			get{return brief;}
			set{brief=value;}
		}
		
		private string content;
		public string Content
		{
			get{return content;}
			set{content =value;}
		}
		
		private DateTime insertDate;
		public DateTime InsertDate
		{
			get{return insertDate;}
			set{insertDate = value;}
		}
		
		private DateTime lastUpdate;
		public DateTime LastUpdate
		{
			get{return lastUpdate;}
			set{lastUpdate=value;}
		}
		
		private float rating;
		public float Rating
		{
			get{return rating;}
			set{rating=value;}
		}
		
		private int visitTime;
		public int VisitTime
		{
			get{return visitTime;}
			set{visitTime=value;}
		}

        private int isTrash;
        public int IsTrash
        {
            get { return isTrash; }
            set { isTrash = value; }
        }

        private int isDelete;
        public int IsDelete
        {
            get { return isDelete; }
            set { isDelete = value; }
        }

        #region --- Relational Variables
          private int sourceID;
          public int SourceID
          {
            get { return sourceID; }
            set { sourceID = value; }
          }

          private int categoryID;
          public int CategoryID
          {
              get { return categoryID; }
              set { categoryID = value; }
          }

          private int authorID;
          public int AuthorID
          {
              get { return authorID; }
              set { authorID = value; }
          }
        #endregion --- Relational Variables
    }
}
